<template>
  <div>
    <h3>二级</h3>
    <van-slider v-model="value" range @change="onChange" />
  </div>
</template>

<script>
import Vue from "vue";
import { Slider  } from 'vant';
Vue.use(Slider );

export default {
  data() {
    return {
      // 双滑块模式时，值必须是数组
      value: [10, 50],
    };
  },
  methods: {
    onChange(value) {
      Toast('当前值：' + value);
    },
  },
};
</script>

<style lang="scss" scoped>

</style>